package com.yvan.periscope;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "yvan.monitor")
public class MonitorProperties {

    private boolean enable;
    private String cronTable;
    private String jvmCronTable;
    private String druidLoginName;
    private String druidLoginPassword;
    private boolean resetEnable;
    private String druidServlet;
    private String patterns;
    private String exclusions;

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public String getCronTable() {
        return cronTable;
    }

    public void setCronTable(String cronTable) {
        this.cronTable = cronTable;
    }

    public String getJvmCronTable() {
        return jvmCronTable;
    }

    public void setJvmCronTable(String jvmCronTable) {
        this.jvmCronTable = jvmCronTable;
    }

    public String getDruidLoginName() {
        return druidLoginName;
    }

    public void setDruidLoginName(String druidLoginName) {
        this.druidLoginName = druidLoginName;
    }

    public String getDruidLoginPassword() {
        return druidLoginPassword;
    }

    public void setDruidLoginPassword(String druidLoginPassword) {
        this.druidLoginPassword = druidLoginPassword;
    }

    public boolean isResetEnable() {
        return resetEnable;
    }

    public void setResetEnable(boolean resetEnable) {
        this.resetEnable = resetEnable;
    }

    public String getDruidServlet() {
        return druidServlet;
    }

    public void setDruidServlet(String druidServlet) {
        this.druidServlet = druidServlet;
    }

    public String getPatterns() {
        return patterns;
    }

    public void setPatterns(String patterns) {
        this.patterns = patterns;
    }

    public String getExclusions() {
        return exclusions;
    }

    public void setExclusions(String exclusions) {
        this.exclusions = exclusions;
    }
}
